package com.db.logger;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Test {
  
  private final Logger logger = LoggerFactory.getLogger(Test.class);
  
  public Test() {
  }
  
  public void test() {
    for (int i  = 0; i < 10; ++i) {
      logger.debug("iteration # {} ", i);
      try {
        Thread.sleep(1000);
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  }
  
  public static void main(String[] args) {
    Test test = new Test();
    test.test();
  }
}
